<include file="{$head}" />
<style>
    .form-group div{
        height:30px;
        line-height:30px;
        border-bottom: 1px solid #f7f7f7;
    }
</style>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{$index}">列表</a></li>
        <li><a href="{$add}">添加</a></li>
        <li class="active"><a>查看</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="">
        <foreach name="fields" item="vo" key="key">
            <if condition="$key gt 0">

                <div class="form-group">
                    <label class="col-sm-2 control-label">{$vo.COLUMN_COMMENT}:</label>
                    <div class="col-md-6 col-sm-10">{$vo.field}</div>
                </div>
            </if>
        </foreach>
        <div class="col-sm-offset-2 col-sm-10">
            <a class="btn btn-default" href="{$index}">返回</a>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>